package com.threeti.jiayusms.framework.util;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;

public abstract class Lists {
	public static final <T> List<T> newArrayList() {
		return new ArrayList<T>();
	}

	public static final <T> List<T> newEmptyArrayList() {
		return new ArrayList<T>(0);
	}

	public static final <T> List<T> newLinkedList() {
		return new LinkedList<T>();
	}
	
	public static final <T> List<T> newArrayList(T...elements) {
		return new ArrayList<T>(Arrays.asList(elements));
	}
}
